package com.example.service;

import com.example.entity.supervision.PublicRandom;
import com.example.entity.supervision.PublicRandomResult;

import java.util.List;
import java.util.Map;

/**
 * Created by simon on 2018/9/10.
 */
public interface PublicRandomService {

    public Map<String, Object> query(PublicRandom publicRandom);

    public Map<String, Object> add(PublicRandom publicRandom);

    public Map<String, Object> delete(PublicRandom publicRandom);

    public Map<String, Object> update(PublicRandom publicRandom);

    public Map<String, Object> addRes(Map map);

    public Map<String, Object> exportRes(Map<String, List<PublicRandomResult>> publicRandomResultList);

    public Map<String, Object> exportResAft(Map prId);

    // 双随机主体单位
    Map<String, Object> exportRandomPort(Map map);
    //双随机获取监管单位
    Map<String, Object> findUnit(Map map);
    //双随机获取监管单位下的用户信息
    Map<String, Object> queryUnit(Map map);
    // 双随机点击开始分配
    Map<String, Object> startDistribution(Map map);
    // 双随机分配完成后导出结果
    Map<String, Object> exportDistribution(Map map);
}
